﻿var projectReference = new ProjectReference();
Console.WriteLine("----------------各节点依赖信息---------------");
var solutionReferences = projectReference.AnalyseReference();

Console.WriteLine("----------------各节点数量信息---------------");
var treeNodes = TreeNodeFactory.Create(solutionReferences);

Console.WriteLine("----------------各节点信息及展示---------------");
TreeNode.AnalyseNodeType(treeNodes);

Console.WriteLine("----------------清理边---------------");
var rootNodes = treeNodes.Where(t => t.NodeType == NodeType.Root).ToList();
TreeNode.ClearInvalidedSides(rootNodes, treeNodes);

Console.WriteLine("----------------节点去边展示-------------------");
GraphReference.DisplayNodeContent(treeNodes);

